<%@ include file="/WEB-INF/jsp/include.jsp" %>
<%@ taglib prefix="spring" uri="/spring" %>

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Coursebook ~ Facebook + Course Catalog</title>
<meta http-equiv="Content-type" content="text/html; charset=US-ASCII" />
<link href="./styles/screen.css" rel="STYLESHEET" type="text/css" />
<link rel="shortcut icon" href="./images/cb.ico" />
<style type="text/css">
/*<![CDATA[*/
/*page-specific CSS code here*/
/*]]>*/
</style>

<script language="javascript">

function login()
{
	window.location="http://api.facebook.com/login.php?api_key=<fmt:message key="facebook.APIKEY" />&skipcookie=1";
}

</script>
</head>

<body>

<div class="book">
	<div class="pageheader">
		<a href="http://www.calpoly.edu"><img src="./images/calpoly.gif" align="left" alt="Cal Poly Logo" /></a>
		<br>
		<a href="<c:url value="http://ghoul.csc.calpoly.edu/coursebook/finder.html" />"><b>Coursebook</b> = Facebook + Course Catalog</a>
	</div>
	<div class="sidebar">
		Find Cal Poly courses using your Facebook profile information.<br /><br />
		<input class="inputbutton" type="button" value="Login" onClick="login()" />
	</div>
	<div class="pagebody">
		<div class="header">Welcome to Coursebook!</div>
		<div class="content">
			<div class="widgetheader">Coursebook is...</div>
			<div class="widget">
				Coursebook helps Cal Poly students choose general education classes by using the interests listed in your Facebook profile.  Aritificial intelligence (AI) techniques are used to select GE classes that may appeal to you.  Login to use your Facebook profile interests or type a list of your interests into the below textbox to get started! 
			</div>  
			<div class="widgetheader">Enter keywords to search courses manually:</div>
			<div class="widget">

				<form method="post">
				    <spring:bind path="finder.interests">
					<textarea type=text name="interests" rows=2 cols=50></textarea>
                                    </spring:bind>
                                    <br /><br />
				<input class="inputsubmit" type="submit" alignment="center" value="Search"></input>
				</form>
			</div>
		</div>
		<div class="pagefooter">
			<div class="fnav">

				<ul><!--<li><a href="/terms">Terms</a></li><li><a href="/about">About</a></li>--><li><a href="http://www.calpoly.edu">Cal Poly Home</a></li><li><a href="http://www.calpoly.edu/cpfindit.html">Cal Poly Find It</a></li></ul>			
			</div>
			a Christine Le, Ryan Downing, Bryan Austin, Steven Eberling, Jimmy Hua, Bryan Estrada production<br />
			Facebook &copy; 2006
		</div>
	</div>		


</div>
</body>
</html>
